package com.example.snowliwork;

public class Shop {
    //商品照片
    private int sImage;
    //商品详情
    private String sDetail;
    //商品保障
    private String sSafe;
    //商品价格
    private String sPrice;

    //构造方法
    public Shop(){

    }
    public Shop(int sImage, String sDetail, String sSafe, String sPrice) {
        this.sImage = sImage;
        this.sDetail = sDetail;
        this.sSafe = sSafe;
        this.sPrice = sPrice;
    }

    //setter getter方法
    public int getsImage() {
        return sImage;
    }

    public void setsImage(int sImage) {
        this.sImage = sImage;
    }

    public String getsDetail() {
        return sDetail;
    }

    public void setsDetail(String sDetail) {
        this.sDetail = sDetail;
    }

    public String getsSafe() {
        return sSafe;
    }

    public void setsSafe(String sSafe) {
        this.sSafe = sSafe;
    }

    public String getsPrice() {
        return sPrice;
    }

    public void setsPrice(String sPrice) {
        this.sPrice = sPrice;
    }

    @Override
    public String toString() {
        return "Shop{" +
                "sImage=" + sImage +
                ", sDetail='" + sDetail + '\'' +
                ", sSafe='" + sSafe + '\'' +
                ", sPrice='" + sPrice + '\'' +
                '}';
    }
}
